﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Drapid.Domain.Auditing;
using Drapid.Domain.Configuration;
using Drapid.Domain.Configuration.Default;
using Drapid.Domain.Session;
using DRapid.Utility.Exceptional.Routing;
using DRapid.Utility.Log;
using Microsoft.Practices.Unity;
using Owin;

namespace WebSite.Admin
{
    public partial class Startup
    {
        public void ConfigApp(IAppBuilder app)
        {
            AppConfiguration.Current
                .RegisterModules<ModuleRegister>("DRapid.Domain.Identity")
                .RegisterStorage<StorageRegister>("DRapid.Storage.EntityFramework.Identity");
            //AppConfiguration.Current.UseLogger<TextBinaryLogger>(new ContainerControlledLifetimeManager());
        }
    }
}